.i18n-guide-content {
  padding: 24px;
  max-width: 1200px;
}

h1 {
  color: #1976d2;
  margin-bottom: 16px;
  font-size: 2.5rem;
  font-weight: 300;
}

p {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 32px;
}

.card {
  background: white;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.card h3 {
  color: #1976d2;
  margin-bottom: 16px;
  font-size: 1.3rem;
  font-weight: 500;
  border-bottom: 2px solid #e3f2fd;
  padding-bottom: 8px;
}

.language-switch {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.current-lang {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
  font-style: italic;
}

.demo-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.demo-result {
  flex: 1;
  
  p {
    background-color: #f5f5f5;
    padding: 12px 16px;
    border-radius: 4px;
    border-left: 3px solid #1976d2;
    margin: 8px 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #333;
  }
  
  h4 {
    color: #1976d2;
    margin: 16px 0 8px 0;
    font-size: 1rem;
    font-weight: 500;
  }
  
  .description {
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 8px;
  }
  
  .translation-text {
    background-color: #ffebee !important;
    border-left-color: #f44336 !important;
    color: #d32f2f !important;
  }
}

.code-example {
  flex: 1;
  min-width: 0;
  
  h4 {
    color: #1976d2;
    margin: 16px 0 8px 0;
    font-size: 1rem;
    font-weight: 500;
  }
  
  pre {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 16px;
    margin: 8px 0;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    line-height: 1.4;
    
    code {
      color: #333;
      background: none;
      padding: 0;
      border: none;
      white-space: pre-wrap;
      word-break: break-all;
    }
  }
}

// 响应式设计
@media (max-width: 768px) {
  .i18n-guide-content {
    padding: 16px;
  }
  
  .language-switch {
    flex-direction: column;
    align-items: stretch;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  .demo-item {
    flex-direction: column;
    gap: 16px;
  }
  
  .code-example {
    min-width: auto;
  }
}
